body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    /*display: flex; 这一行导致历史记录跟表单在一行展示*/
    /*justify-content: center;
    align-items: center;*/
    height: 100vh;
    background-color: #f5f5f5;
}

label {
    /*padding-right: 100px;*/ /* 添加右侧内边距 */
    margin-left: 10px;
}

.textarea1 {
    /*padding-right: 100px;*/ /* 添加右侧内边距 */
    margin-left: 10px;
}

input{
    /*padding-right: 100px;*/ /* 添加右侧内边距 */
    margin-left: 10px;
}

.chat-container {
    width: 100%;
    max-width: 1500px;
    height: 80vh;
    background-color: #fff;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
}

h1 {
    text-align: center;
    margin-bottom: 20px;
}

.chat-history {
    flex: 1;
    overflow-y: auto;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #fafafa;
    resize: both; /* Allow manual resizing */
}

.chat-record {
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
}

.timestamp {
    text-align: left; /* Ensure timestamps are aligned to the left */
    color: #666;
    font-size: 12px;
    margin-bottom: 5px;
}

.message {
    margin: 0;
    padding: 10px;
    background-color: #e0e0e0;
    border-radius: 4px;
}

.message strong {
    display: block;
    margin-bottom: 5px;
    color: #333;
}
